package com.ws.shop.service;

import java.util.List;

import com.ws.shop.bean.Page;
import com.ws.shop.entity.Accessory;
import com.ws.shop.entity.Goods;

public interface GoodsService {

	public int saveOrUpdate(Goods goods);

	public void saveGoodsAccessory(int id, int[] imgs);

	public void deleteById(int id);

	public Goods findGoodsById(int id);

	public List<Accessory> findAccessoryListByGoodsId(int goodsId);

	public Page findGoodsByPage(int pageno, int pagesize, String goodsname);

}
